package domain;

import java.io.Serializable;

/**
 * 任务
 * @author Administrator
 *
 */
public class Task implements Serializable {
	

/*	表名：task（MySQL表）
	task_id：表的主键
	task_name：任务名称
	start_time：开始运行的时间
	finish_time：结束运行的时间
	task_param：最最重要，用来使用JSON的格式，来封装用户提交的任务对应的特殊的筛选参数*/
	private int taskId;
	private String taskName;
	private String startTime;
	private String finishTime;

	public Task(int taskId, String taskName, String startTime, String finishTime, String taskParam) {
		this.taskId = taskId;
		this.taskName = taskName;
		this.startTime = startTime;
		this.finishTime = finishTime;
		this.taskParam = taskParam;
	}

	public Task(){}

	private String taskParam;


	public int getTaskId() {
		return taskId;
	}

	public void setTaskId(int taskId) {
		this.taskId = taskId;
	}

	public String getTaskName() {
		return taskName;
	}

	public void setTaskName(String taskName) {
		this.taskName = taskName;
	}

	public String getStartTime() {
		return startTime;
	}

	public void setStartTime(String startTime) {
		this.startTime = startTime;
	}

	public String getFinishTime() {
		return finishTime;
	}

	public void setFinishTime(String finishTime) {
		this.finishTime = finishTime;
	}

	public String getTaskParam() {
		return taskParam;
	}

	public void setTaskParam(String taskParam) {
		this.taskParam = taskParam;
	}


}
